<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script language="javascript">
function updateAliaddress(id)
{
	AWS.ajax_post($('#qaform'+id));
}
</script>
<title>云途交运列表</title>
<body class="withvernav">
<div class="bodywrapper"> {{include file='/public/leftmenu.tpl'}}
    <div class="centercontent">
        <div class="pageheader notab">
            <h1 class="pagetitle">回邮地址配置</h1>
            <span class="pagedesc"></span>
            <div class="menulist">
                <ul class="profile_summary">
                      <li><a href="/deliverorder/aliexpressOrder"><span>无忧物流列表</span></a></li>
                </ul>
            </div>
        </div>
        <!--pageheader-->

        <div id="contentwrapper" class="contentwrapper">
            <div id="basicform" class="subcontent">
            
                <table cellpadding="0" cellspacing="0" border="0" class="stdtable">

                    <thead>
                    <tr>
                        <th class="head1">注:回邮地址必须全部为英文，否则不能提交</th>

                    </tr>
                    </thead>
				</table>
                 {{foreach from=$shoplist item=detail key=key}}
                
                 <div class="bs_module01_content">
           	<table cellpadding="0" cellspacing="0" border="0" class="stdtable">
                    <thead>
                    <tr>
                        <th class="head1">{{$detail.name}}</th>

                    </tr>
                    </thead>
				</table>
                <form action="/deliverorder/ajaxbutton?op=saveAliaddressconfig" method="post" name="qaform{{$detail.id}}" id="qaform{{$detail.id}}" enctype="multipart/form-data">
             <input type="hidden" id="shopid" name="shopid" value="{{$detail.id}}">
          <table width="100%" cellspacing="0" border="0" class="stdtable">
            <tbody>
              <tr>
                 <td colspan="6"><strong>回邮地址<span style="color:red;">(注:回邮地址必须全部为英文，否则不能提交)</span></td>
              </tr>
              <tr>
                <td width="8%" style="text-align: right;" > 姓名 </td>
                <td width="25%" name="sendername"><input type="text" value="{{$detail.aliexpressData.name}}" name="name" id="name" class="full_input" /></td>
                <td width="8%" style="text-align: right;"> 国家 </td>
                <td width="25%" name="sendercountry"><input type="text"  name="country" id="country"  class="full_input" value="{{$detail.aliexpressData.country}}" /></td>
                <td width="8%" style="text-align: right;"> 省份 </td>
                <td width="25%" name="senderprovince"><input type="text" name="province" id="province" class="full_input" value="{{$detail.aliexpressData.province}}"/></td>
              </tr>
              <tr>
                <td style="text-align: right;"> 城市 </td>
                <td name="sendercity"><input type="text" name="city" id="city" value="{{$detail.aliexpressData.city}}" class="full_input" /></td>
                <td style="text-align: right;"> 区域 </td>
                <td name="sendercounty"><input type="text" name="area" id="area" class="full_input" value="{{$detail.aliexpressData.area}}" /></td>
                <td style="text-align: right;"> 电话 </td>
                <td name="senderphone"><input type="text"  name="tel" id="tel" class="full_input" value="{{$detail.aliexpressData.tel}}" /></td>
              </tr>
              <tr>
                <td style="text-align: right;"> 邮编 </td>
                <td name="senderpostcode"><input type="text" name="postcode" id="postcode"  value="{{$detail.aliexpressData.postcode}}" class="full_input" /></td>
                <td style="text-align: right;"> 地址 </td>
                <td colspan="3" name="senderstreetaddress"><input name="address" id="address" type="text" class="full_input" value="{{$detail.aliexpressData.address}}" /></td>
              </tr>
              <tr>
                <td colspan="6"><strong>揽收地址</strong></td>
              </tr>
              <tr>
                <td style="text-align: right;"> 姓名 </td>
                <td name="pickupname"><input type="text" value="{{$detail.aliexpressData.cn_name}}" name="cn_name" id="cn_name" class="full_input" /></td>
                <td style="text-align: right;"> 国家 </td>
                <td name="pickupcountry"><input type="text" name="cn_country" id="cn_country"  class="full_input" value="{{$detail.aliexpressData.cn_country}}" /></td>
                <td style="text-align: right;"> 省份 </td>
                <td name="pickupprovince"><input type="text" name="cn_province" id="cn_province"   class="full_input" value="{{$detail.aliexpressData.cn_province}}" /></td>
              </tr>
              <tr>
                <td style="text-align: right;"> 城市 </td>
                <td name="pickupcity"><input type="text" value="{{$detail.aliexpressData.cn_city}}" name="cn_city" id="cn_city" class="full_input" /></td>
                <td style="text-align: right;"> 区域 </td>
                <td name="pickupcounty"><input type="text" class="full_input" name="cn_area" id="cn_area"  value="{{$detail.aliexpressData.cn_area}}" /></td>
                <td style="text-align: right;"> 电话 </td>
                <td name="pickupphone"><input type="text" name="cn_tel" id="cn_tel"  class="full_input" value="{{$detail.aliexpressData.cn_tel}}" /></td>
              </tr>
              <tr>
                <td style="text-align: right;"> 邮编 </td>
                <td name="pickuppostcode"><input type="text" name="cn_postcode" id="cn_postcode" value="{{$detail.aliexpressData.cn_postcode}}" class="full_input" /></td>
                <td style="text-align: right;"> 地址 </td>
                <td colspan="3" name="pickupstreetaddress"><input  name="cn_address" id="cn_address"  type="text" class="full_input" value="{{$detail.aliexpressData.cn_address}}"  /></td>
              </tr>
              <tr>
                <td colspan="6" align="center" name="buttontd">
                   <span class="btn_style09"><input type="button" onclick="return updateAliaddress('{{$detail.id}}');" value="提交"/></span>
                </td>
              </tr>
            </tbody>
          </table>
          </form>
          <br>
      </div>
      {{/foreach}}

                
                
                

            </div></div>
      
</body>
</html>